package com.gopay.remote.bank.businesses;

import com.gopay.common.domain.bank.BaseMessage;
import com.gopay.common.exception.GopayException;

/**
 * 网联-网关支付
 * Created by zhoutong on 2018/1/15.
 */
public interface NuccEbankService {

    /**
     * 支付申请
     *
     * @param baseMsg
     * @return Object
     * @throws GopayException
     */
     Object payment(BaseMessage baseMsg) throws GopayException;

    /**
     * 退款
     *
     * @param baseMsg
     * @return Object
     * @throws GopayException
     */
     Object refund(BaseMessage baseMsg) throws GopayException;

    /**
     * 验签
     *
     * @param baseMsg
     * @return Object
     * @throws GopayException
     */
     Object verify(BaseMessage baseMsg) throws GopayException;


}
